<div class="layui-side-scroll">
    <ul class="layui-nav layui-nav-tree" lay-shrink="all" style="margin-top: 5px;">
        <!-- 左部菜单 -->
        <script id="sideNav" type="text/html">
            <div style=" height: 55px;background:#e8e8e8;color:#313234;font-size:14px;font-weight:600;line-height:55px;margin-top:-5px;padding-left:20px;color:#525252;border-bottom:1px solid #e6e4e4;"  >{{d.systemName}}</div>

            {{#  layui.each(d.menus, function(index, item){ }}

            <li class="layui-nav-item">
                {{# if(item.children&&item.children.length>0){ }}
                <a href="javascript:void(0)"><i class="iconfont {{item.icon}}"></i>&emsp;<cite>{{ item.name }} </cite>
                    <i class="layui-icon layui-icon-down"></i>
                </a>
                {{# }else{ }}
                     <a href="{{item.url}}"><i class="iconfont {{item.icon}}"></i>&emsp;<cite>{{ item.name }}</cite></a>
                {{# } }}

                {{# if(item.children&&item.children.length>0){ }}
                <dl class="layui-nav-child">
                    {{# layui.each(item.children, function(index, subItem){ }}
                    <dd>
                        <a href="{{ subItem.url ||'javascript:void(0)'}}">&emsp;<cite>{{subItem.name }}</cite></a>

                        <!--{{# if(subItem.children&&subItem.children.length>0){ }}
                        <dl class="layui-nav-child">
                            {{# layui.each(subItem.children, function(index, thrItem){ }}
                            {{# if(!thrItem.hidden){ }}
                            <dd>
                                <a href="{{ thrItem.url }}">{{ thrItem.name }}</a>
                            </dd>
                            {{# } }}
                            {{# }); }}
                        </dl>
                        {{# } }}-->
                    </dd>
                    {{# }); }}
                </dl>
                {{# } }}
            </li>
            {{#  }); }}
        </script>

    </ul>
    <div class="side-btn">
        <div class="viewFramework-product-navbar-collapse" ew-event="flexible" title="侧边伸缩">
            <div class="product-navbar-collapse-inner">
                <div class="product-navbar-collapse-bg"></div>
                <div class="product-navbar-collapse"><span class="icon-collapse-left"></span>
                    <span class="icon-collapse-right"></span></div>
            </div>
        </div>
    </div>

</div>
